home *** CD-ROM | disk | FTP | other *** search
- Orc's collection of tiny-little
- utilities of limited value unless
- you run your ST via a shell in
- the auto folder. Part 1
-
- These programs are released to the public domain. You may do anything
- you wish to them or with them. If you modify one of the programs to
- make it more useful, please release your changes to the public domain
- as well.
-
- BLACK: turn a monochrome screen black/white
- Usage: black - turn the monochrome screen black.
- black x - turn the monochrome screen white.
-
- Black diddles the pallette settings for the console on a ST; it's behavior
- with a colour monitor is probably not what you'd want to see.
-
- BLIT: turns the blitter on or off (on the mega)
- Usage: blit - turns the blitter on
- blit x - turns the blitter off
-
- BOMBS: see what shrooms or error codes mean
- Usage: bombs [shroom-count or error code]
-
- When a program blows up with a collection of shrooms, you can find out
- what system error that is by doing "bombs <#shrooms>". If the program
- has problems and complains about negative error statuses, you can find
- out what those mean by doing "bombs <error-status>"
-
- CHMOD: changes file permissions.
- Usage: chmod +[mode] file .. - adds modes to the file permissions.
- chmod -[mode] file .. - takes modes away from the file permissions.
- chmod [mode] file .. - sets file permissions to modes.
-
- The modes are:
- w - file writability.
- s - the system bit.
- h - the hidden bit.
- a - the archive bit.
-
- Bugs: The writability bit doesn't really work. You can make a file
- writable, but it's not possible to make a file readonly.
-
- COPYTO: copy files to the ramdisk
- Usage: copyto [-q] device:
- copyto
-
- Copyto copies files to a filesystem (usually a ramdisk); it's useful
- during bootup to load a ramdisk. Copyto will not copy over files
- that already exist (so if you have a persistant ramdisk, copyto won't
- waste time recopying files.) If you specify a device on the commandline
- (say, in the startup script of your shell), copyto expects to recieve
- a list of files on its standard input. If you don't specify a device,
- copyto will read the file COPYTO.DAT from your auto directory that
- contains the device of the ramdisk, options information, then a list
- of files to copy to it.
-
- COPYTO.DAT contains one header line: this line has the keyword "ramdisk",
- the device, then options. If you are setting up to copy files \bin\vi.ttp,
- \bin\tsh.ttp, and \bin\cc.ttp to your ramdisk e:, your COPYTO.DAT would
- look like:
- ramdisk e:/quiet
- \bin\vi.ttp
- \bin\tsh.ttp
- \bin\cc.ttp
-
- Currently, the only option is /QUIET (-q from the commandline) ; normally,
- copyto will display the names of the files as it is copying, but this
- turns all output off except error output.
-
- DF: shows freespace on filesystems
- Usage: df [-t] [filesystem ..]
-
- If you give it the names of filesystems, df will tell you how much room
- is available and how much is there, in K, of the filesystems. If you
- don't give df any arguments, it will give you statistics on every
- filesystem you have (if you only have one floppy, it won't give you
- statistics on the imaginary other floppy, though...)
- The -t flags gives you a total of available + existing space for all of
- the filesystems listed.
-
- DUMP: does an IBM mainframe-style hex dump of a file
- Usage: dump file ..
-
- Dump produces output of lines like
-
- address|hex contents of 16 bytes|character contents of 16 bytes|
-
- If you're dumping more than one file, dump will generate a small header
- before each file.
-
- DU: show disk usages in files/directories
- Usage: du [-s] path ..
-
- Du will show you the how much room the directories or files are using,
- in K-bytes. Normally, when du finds subdirectories, it will list the
- space taken by them; the -s flag just gives the space of the things
- you gave it as arguments.
-
- MORE: a stupid terminal-dependant paginator
- Usage: more [files]
-
- More cats files to stdout, pausing every 25 lines so that the user can
- read the file. When paused, the user can do the following things:
- [return] - displays one more line of the file
- [space] - displays one more page (25 lines) of the file
- control-D - displays the next half page of the file.
- Q,q - quits more and returns to the shell or desktop
- N - goes to the next file, if there are any more.
-
- SLICE: cuts a file up into easy-to-manage pieces
- Usage: slice [-approximate size] file
-
- Slice cuts textfiles up into small easy-to-digest chunks. When cutting
- a file up, slice will write the bits to files with the suffix .1, .2, ..
- and so on, replacing any existing suffix on the file in the process.
-
- UNVERIFY: turns floppy-disk verification on/off
- Usage: unverify - turns floppy disk verification off (fast writing)
- unverify x - turns floppy disk verification on (slow writing)
-
- WHERE: finds a program in your PATH
- Usage: where program ..
-
- Where tells you of every instance of program in your path; it will provide
- suffixes if you don't (it knows about .app, .prg, .tos, and .ttp.) If it
- can't find a given program, it will stay mum about it.
-